Azure Maps Alias Service (preview:2023-03-01)

2025/10/06 • 5 deleted methods

Alias_Create (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `Create` API is an HTTP `POST` request that allows the caller to create an alias and optionally assign it to a resource. An alias can reference an ID generated by a creator service, but cannot reference another alias ID. ### Submit Create Request To create your alias, you will use a `POST` request. If you would like to assign the alias during the creation, you will pass the `resourceId` query parameter. ### Create Alias Response The Create API returns a HTTP `201 Created` response with the alias resource in the body. A sample response from creating an alias: ```json { "createdTimestamp": "2020-02-13T21:19:11.123Z", "aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766", "creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14", "lastUpdatedTimestamp": "2020-02-13T21:19:22.123Z" } ```
Reference Link ¶

⚼ Request

POST:  /aliases
{
x-ms-client-id: string ,
api-version: string ,
creatorDataItemId: string ,
}

⚐ Response (201)

{
$headers:
{
access-control-expose-headers: string ,
}
,
$schema:
{
createdTimestamp: string ,
aliasId: string ,
creatorDataItemId: string ,
lastUpdatedTimestamp: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_List (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). The `List` API is an HTTP `GET` request that allows the caller to fetch a list of all existing aliases. ### Submit List Request To list all your aliases, you will issue a `GET` request with no additional parameters. ### List Data Response The List API returns the complete list of all aliases in `json` format. The response contains the following details for each alias resource: > createdTimestamp - The timestamp that the alias was created. Format yyyy-MM-ddTHH:mm:ss.sssZ > aliasId - The id for the alias. > creatorDataItemId - The id for the creator data item that this alias references (could be null if the alias has not been assigned). > lastUpdatedTimestamp - The last time the alias was assigned to a resource. Format yyyy-MM-ddTHH:mm:ss.sssZ A sample response returning 2 alias resources: ```json { "aliases": [ { "createdTimestamp": "2020-02-13T21:19:11.123Z", "aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766", "creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14", "lastUpdatedTimestamp": "2020-02-13T21:19:22.123Z" }, { "createdTimestamp": "2020-02-18T19:53:33.123Z", "aliasId": "1856dbfc-7a66-ee5a-bf8d-51dbfe1906f6", "creatorDataItemId": null, "lastUpdatedTimestamp": "2020-02-18T19:53:33.123Z" } ] } ```
Reference Link ¶

⚼ Request

GET:  /aliases
{
x-ms-client-id: string ,
api-version: string ,
}

⚐ Response (200)

{
aliases:
[
{
createdTimestamp: string ,
aliasId: string ,
creatorDataItemId: string ,
lastUpdatedTimestamp: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Assign (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Assign Request To assign your alias to a resource, you will use a `PUT` request with the `aliasId` in the path and the `creatorDataItemId` passed as a query parameter. ### Assign Alias Response The Assign API returns a HTTP `200 OK` response with the updated alias resource in the body, if the alias was assigned successfully. A sample of the assign response is ```json { "createdTimestamp": "2020-02-13T21:19:11.123Z", "aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766", "creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14", "lastUpdatedTimestamp": "2020-02-13T21:19:22.123Z" } ```
Reference Link ¶

⚼ Request

PUT:  /aliases/{aliasId}
{
x-ms-client-id: string ,
aliasId: string ,
api-version: string ,
creatorDataItemId: string ,
}

⚐ Response (200)

{
createdTimestamp: string ,
aliasId: string ,
creatorDataItemId: string ,
lastUpdatedTimestamp: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Delete (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Delete Request To delete your alias you will issue a `DELETE` request where the path will contain the `aliasId` of the alias to delete. Note that only the alias is deleted, not the resource it references. ### Delete Alias Response The Delete API returns a HTTP `204 No Content` response with an empty body, if the alias was deleted successfully.
Reference Link ¶

⚼ Request

DELETE:  /aliases/{aliasId}
{
x-ms-client-id: string ,
aliasId: string ,
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Alias_Get (removed)
Description > [!NOTE] > > **Azure Maps Creator retirement** > > The Azure Maps Creator indoor map service is now deprecated and will be retired on 9/30/25. For more information, see [End of Life Announcement of Azure Maps Creator](https://aka.ms/AzureMapsCreatorDeprecation). ### Submit Get Details Request To get the details of your alias, you will issue a `GET` request with the `aliasId` in the path. ### Get Details Response The Get Details API returns the previously created alias in `json` format. The response contains the following details for the alias resource: > createdTimestamp - The timestamp that the alias was created. > aliasId - The id for the alias. > creatorDataItemId - The id for the creator data item that this alias references (could be null if the alias has not been assigned). > lastUpdatedTimestamp - The last time the alias was assigned to a resource. Here's a sample response: ```json { "createdTimestamp": "2020-02-13T21:19:11.123Z", "aliasId": "a8a4b8bb-ecf4-fb27-a618-f41721552766", "creatorDataItemId": "e89aebb9-70a3-8fe1-32bb-1fbd0c725f14", "lastUpdatedTimestamp": "2020-02-13T21:19:22.123Z" } ```
Reference Link ¶

⚼ Request

GET:  /aliases/{aliasId}
{
x-ms-client-id: string ,
aliasId: string ,
api-version: string ,
}

⚐ Response (200)

{
createdTimestamp: string ,
aliasId: string ,
creatorDataItemId: string ,
lastUpdatedTimestamp: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}